package com.xu.service;

import com.xu.pojo.Stock;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface StockService {

    List<Stock> getStock();

    int addStock(Stock stock);

    //删除产品
    int delStock(int id);

    //修改产品
    int updStock(Stock stock);

    Stock queryStockById(int id);
}
